<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Axios Demo</title>
</head>
<body>

</body>
<script src="js/axios-0.18.0.js"></script>
<!--<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>-->
<script>
  axios({
    method:"post",
    url:"http://localhost:8080/web_18_axios/axiosServletPost",
      data:"username=zhangsan"
  }).then(function (resp){
    alert(resp.data)
  })
</script>
</html>